package com.chaopei.config_server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

@SpringBootApplication
//指定为配置中心服务器,专门对外提供配置服务
@EnableConfigServer
public class ConfigServerApplication {
   //http://localhost:5508/config/master
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
        System.out.println("配置中心服务器已启动");

    }
}
